package com.deere.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 加工工序
 * @author zhaohongxing
 *
 */
@Entity
@Table(name = "WORKING_PROCEDURE")
public class WorkingProcedure extends GenericModel{
	/*
	 * 工序编码
	 */
	private String wpCode; 
	/*
	 * 工序名字.
	 * 有以下名称：
	 * 车、铣、刨、磨、钳、板、镗
	 */
	private String wpName; 
	/*
	 * 单位价格
	 */
	private int unitPrice; 
	
	@Id
	public String getWpCode() {
		return wpCode;
	}

	public void setWpCode(String wpCode) {
		this.wpCode = wpCode;
	}

	public String getWpName() {
		return wpName;
	}

	public void setWpName(String wpName) {
		this.wpName = wpName;
	}

	public int getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(int unitPrice) {
		this.unitPrice = unitPrice;
	}
	
}
